import {createRouter, createWebHistory} from 'vue-router'

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL), routes: [{
        path: '/', name: 'index', component: () => {
            return import('@/views/IndexView.vue')
        },
    }, {
        path: "/wiki", component: () => import("@/views/func/FuncIndexView.vue"), children: [{
            path: "perfume", component: () => import("@/views/func/PerformView.vue")
        }, {
            path: "ingredient", component: () => import("@/views/func/IngredientView.vue")
        }, {
            path: "bland", component: () => import("@/views/func/BlandView.vue")
        }, {
            path: "order", component: () => import("@/views/func/OrderView.vue")
        }, {
            path: "index", component: () => import("@/views/func/indexView.vue")
        }]
    }],
})

export default router
